<?php /* Smarty version 2.6.13, created on 2011-06-01 21:55:44
         compiled from sell_ecurrency.tpl */ ?>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "top.tpl", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
<body>
<script type="text/javascript" src="<?php echo $this->_tpl_vars['WPATH'];  echo $this->_tpl_vars['FOLDER_TEMPLATES']; ?>
/<?php echo $this->_tpl_vars['TEMPLATE_NAME_PATH']; ?>
/js/jquery/jquery-1.4.1.js"></script>
<script type="text/javascript" src="<?php echo $this->_tpl_vars['WPATH'];  echo $this->_tpl_vars['FOLDER_TEMPLATES']; ?>
/<?php echo $this->_tpl_vars['TEMPLATE_NAME_PATH']; ?>
/js/jquery/jquery-1.4.1.min.js"></script>
<script type="text/javascript" src="<?php echo $this->_tpl_vars['WPATH'];  echo $this->_tpl_vars['FOLDER_TEMPLATES']; ?>
/<?php echo $this->_tpl_vars['TEMPLATE_NAME_PATH']; ?>
/js/sell_ecurrency.js"></script>
<div id="containerWrap">
  <div id="container">
    <div id="mainContent"> <?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "header.tpl", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
      <div id="contentWrap">
        <div id="mainBody">
          <div id="content">
            <!-- Main Area -->
            <div id="mainHomeArticle" >
              <div id="main_content">
                <!-- content -->
                <div id="fees_explanation">
                  <h2>Explanation</h2>
                  <div class="normal_line_height">Wire transfer <br>
                    When we send wire transfer we pay only our bank fees (SHA option). Payment will be an international bank wire transfer and may be subject to processing and/or intermediary bank and your bank charges. Goldexpay cannot be held liable for such charges. If you want us to pay all fees for wire transfer you need to contact our support team. <br>
                    <br>
                    Money transfer <br>
                    Money transfer fee is not included in our fee. Amount that you will receive depends on money transfer fee. If you want to know what amount you will receive for sure please contact our support team and we will help you with calculating. <br>
                    <br>
                    Debit cards <br>
                    If you want to withdraw e-currency to card you can apply Goldexpay Debit Card. Please login to your account and visit link <a href="/user/debitCardRequest">here</a>. </div>
                </div>
                <h1>Sell e-currency</h1>
                <form class="base_form" id="order" name="newsellecurrency" action="<?php echo $this->_tpl_vars['WPATH']; ?>
sell-ecurrency" method="POST" onSubmit="return onAddSellEcurrency('order','amount_in_error_wrap','<?php echo $this->_tpl_vars['WPATH']; ?>
sell-ecurrency','<?php echo $this->_tpl_vars['WPATH']; ?>
sell-ecurrency'); ">
                <input type="hidden" name="act" value="newsellecurrency" />
                  <div id="amount_in_error_wrap"></div>
                  <table>
                    <tbody>
                      <tr>
                        <th><label for="calculator_payment_system_in_id">You want to sell e-currency * </label></th>
                        <td><select name="payment_system_in_id">
                            
                            <?php $_from = $this->_tpl_vars['DATA']['ecurrencylist']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }$this->_foreach['ecurrencylist'] = array('total' => count($_from), 'iteration' => 0);
if ($this->_foreach['ecurrencylist']['total'] > 0):
    foreach ($_from as $this->_tpl_vars['item']):
        $this->_foreach['ecurrencylist']['iteration']++;
?>
              
                              
                            <option id='<?php echo $this->_tpl_vars['item']->id; ?>
' value='<?php echo $this->_tpl_vars['item']->id; ?>
'> <?php echo $this->_tpl_vars['item']->ecurrency_name; ?>
 </option>
                            
                              
          					<?php endforeach; endif; unset($_from); ?>
                          
                          </select>
                          <input type="text" name="amount_in" id="amount_in" value="" onKeyUp="calc.calc();"/></td>
                      </tr>
                    </tbody>
                  </table>
                  <div id="amount_to_user_error_wrap"></div>
                  <table>
                    <tbody>
                      <tr>
                        <th><label for="calculator_payment_system_out_id">You will receive Wire/Money transfer in currency *</label></th>
                        <td><select name="payment_system_out_id">
                            
                            <?php $_from = $this->_tpl_vars['DATA']['banklist']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }$this->_foreach['bank'] = array('total' => count($_from), 'iteration' => 0);
if ($this->_foreach['bank']['total'] > 0):
    foreach ($_from as $this->_tpl_vars['item']):
        $this->_foreach['bank']['iteration']++;
?>
              
                              
                            <option id='<?php echo $this->_tpl_vars['item']->bank_id; ?>
' value='<?php echo $this->_tpl_vars['item']->bank_id; ?>
'> <?php echo $this->_tpl_vars['item']->bank_name; ?>
 </option>
                            
                              
          					<?php endforeach; endif; unset($_from); ?>
                          
                          </select>
                          <input type="text" name="amount_to_user" id="amount_to_user" value="" onKeyUp="calc.recalc();"/>
                          <select name="currency_out_id" class="currency">
                            
                            <?php $_from = $this->_tpl_vars['DATA']['currencycode']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }$this->_foreach['bank'] = array('total' => count($_from), 'iteration' => 0);
if ($this->_foreach['bank']['total'] > 0):
    foreach ($_from as $this->_tpl_vars['item']):
        $this->_foreach['bank']['iteration']++;
?>
              
                              
                            <option id='<?php echo $this->_tpl_vars['item']->cur_code_id; ?>
' value='<?php echo $this->_tpl_vars['item']->cur_code_id; ?>
'> <?php echo $this->_tpl_vars['item']->cur_code_id; ?>
 </option>
                            
                              
          					<?php endforeach; endif; unset($_from); ?>
                            
                          </select>
                          <input type="hidden" name="calculator[_csrf_token]" value="ac01b40fab09504d352484bb07b27699" id="calculator__csrf_token" /></td>
                      </tr>
                      <tr>
                        <td colspan="2" id="limit_and_rate"></td>
                      </tr>
                    </tbody>
                  </table>
                  <h2>Transaction and personal data for your e-currency sell order</h2>
                  <div id="operation_for_wt_wrap">
                    <table>
                      <tbody>
                        
                        <tr id="tr_operation_for_wt_user_account_out">
                          <th><label for="operation_for_wt_user_account_out"><span id="label_ps_in_wt"></span>&nbsp;account *</label></th>
                          <td><input type="text" name="user_account_out" id="operation_for_wt_user_account_out" /></td>
                        </tr>
                        <tr>
                          <th>&nbsp;</th>
                          <td><span class="form_help">type e-currency account from that you will do transfer</span></td>
                        </tr>
                        <tr id="tr_operation_first_name">
                          <th><label for="operation_first_name">First name *</label></th>
                          <td><input type="text" name="first_name" id="operation_first_name" /></td>
                        </tr>
                        <tr>
                          <th>&nbsp;</th>
                          <td><span class="form_help">first name of sender</span></td>
                        </tr>
                        <tr id="tr_operation_last_name">
                          <th><label for="operation_last_name">Last name *</label></th>
                          <td><input type="text" name="last_name" id="operation_last_name" /></td>
                        </tr>
                        <tr>
                          <th>&nbsp;</th>
                          <td><span class="form_help">last name of sender</span></td>
                        </tr>
                        <tr id="tr_operation_country">
                          <th><label for="operation_country">Country *</label></th>
                          <td><select name="country" id="country">
                              
          <?php $_from = $this->_tpl_vars['ALLCOUNTRY']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }$this->_foreach['country'] = array('total' => count($_from), 'iteration' => 0);
if ($this->_foreach['country']['total'] > 0):
    foreach ($_from as $this->_tpl_vars['item']):
        $this->_foreach['country']['iteration']++;
?>
              
                              <option id='<?php echo $this->_tpl_vars['item']->country_id; ?>
' value='<?php echo $this->_tpl_vars['item']->country_id; ?>
'> <?php echo $this->_tpl_vars['item']->country_name; ?>
 </option>
                              
          <?php endforeach; endif; unset($_from); ?>
       
                            </select></td>
                        </tr>
                        <tr id="tr_operation_state">
                          <th><label for="operation_state">State </label></th>
                          <td><input type="text" name="state" id="state" /></td>
                        </tr>
                        <tr id="tr_operation_state">
                          <th><label for="operation_city">City *</label></th>
                          <td><input type="text" name="city" id="city" /></td>
                        </tr>
                        <tr id="tr_operation_for_wt_email">
                          <th><label for="operation_for_wt_email">E-mail *</label></th>
                          <td><input type="text" name="email" id="email" /></td>
                        </tr>
                        <tr>
                          <th>&nbsp;</th>
                          <td><span class="form_help">please type your valid e-mail</span></td>
                        </tr>
                        <tr id="tr_operation_for_wt_email_confirm">
                          <th><label for="operation_for_wt_email_confirm">E-mail (confirm) *</label></th>
                          <td><input type="text" name="email_confirm" id="email_confirm" /></td>
                        </tr>
                        <tr id="tr_operation_for_wt_contact">
                          <th><label for="operation_for_wt_contact">Contacts</label></th>
                          <td><input type="text" name="contacts" id="operation_for_wt_contact" /></td>
                        </tr>
                        <tr>
                          <th>&nbsp;</th>
                          <td><span class="form_help">type your contact phone, icq, ym, skype or other contact info</span></td>
                        </tr>
                       
                        <tr id="tr_operation_for_wt_questions_or_comments">
                          <th><label for="operation_for_wt_questions_or_comments">Questions or comments</label></th>
                          <td><input type="text" name="questions_or_comments" id="operation_for_wt_questions_or_comments" /></td>
                        </tr>
                        <tr id="tr_621945914">
                          <th><label for="operation_for_wt_captcha">Captcha *</label></th>
                          <td><span class="captcha"><img src="captcha.php" alt="Captcha Image" style="border:1px solid #545353;" id="captchaImg" />
                            <input type="text" name="captcha"/>
                            <br/>
                            <a href="#" onClick="time = new Date(); document.getElementById('captchaImg').src = 'captcha.php?' + time.getTime(); return false;">refresh</a></span></td>
                        </tr>
                      </tbody>
                    </table>
                  </div>
                  <div id="agreements">When you press the button "Submit" , you agree with our <a href="/page/article/name/terms" target="_blank">Terms and conditions</a></div>
                  <div class="tfoot" style="padding-top:0px;">
                    <input type="submit" value="Submit"/>
                  </div>
                </form>
                <!-- /content -->
              </div>
              <?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "footer.tpl", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?> </div>
          </div>
        </div>
      </div>
      <div id="footer"></div>
    </div>
  </div>
</div>
<script type="text/javascript">
  var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
  document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
</script>
<script type="text/javascript">
  var pageTracker = _gat._getTracker("UA-4477993-1");
  pageTracker._initData();
  pageTracker._trackPageview();
</script>
<!-- BEGIN ProvideSupport.com Visitor Monitoring Code -->
<div id="ciJ28O" style="z-index:100;position:absolute"></div>
<div id="sdJ28O" style="display:none"></div>
<script type="text/javascript">var seJ28O=document.createElement("script");seJ28O.type="text/javascript";var seJ28Os=(location.protocol.indexOf("https")==0?"https":"http")+"://image.providesupport.com/js/goldexpay/safe-monitor.js?ps_h=J28O&ps_t="+new Date().getTime();setTimeout("seJ28O.src=seJ28Os;document.getElementById('sdJ28O').appendChild(seJ28O)",1)</script>
<noscript>
<div style="display:inline"><a href="http://www.providesupport.com?monitor=goldexpay"><img src="http://image.providesupport.com/image/goldexpay.gif" border="0"></a></div>
</noscript>
<!-- END ProvideSupport.com Visitor Monitoring Code -->
<script type="text/javascript">
<?php echo '
    calc.T[\'Fee:\'] = \'Fee:\';
    calc.T[\'min\'] = \'min\';
    calc.T[\'min fee\'] = \'min fee\';

                  calc.T[\'amount_in_min_error\'] = \'amount_in_min_error\';
          calc.T[\'amount_in_max_error\'] = \'maximum amount is %max%\';
          calc.T[\'amount_to_user_min_error\'] = \'minimal amount is %min%\';
          calc.T[\'amount_to_user_max_error\'] = \'maximum amount is %max%\';
          calc.T[\'amount_to_user_great_then_ec_balance\'] = \'amount_to_user_great_then_ec_balance\';
          calc.T[\'amount_to_user_great_then_mts_balance\'] = \'maximum amount is %max%\';
          calc.T[\'amount_to_user_less_then_0\'] = \'Minimal amount for receiver can not be less then 0\';
    
    calc.formType = \'out\';
          calc.ps_ids_with_wmid = {"6":true,"13":true};
          calc.curs = {"2":"USD","1":"EUR"};
          calc.curs_order = [2,1];
          calc.curRates = {"1":{"2":1.37},"2":{"1":0.65}};
          calc.ps = {"7":"E-gold","24":"International wire transfer outside EU","34":"US Check","10":"V-money","1":"International wire transfer","3":"Western","2":"MoneyGram","6":"Webmoney (WMZ)","37":"Credit\\/Debit Card","13":"Webmoney (WME)","17":"WMID","5":"Liberty Reserve (USD)","4":"Liberty Reserve (EUR)","28":"AlertPay","12":"Moneybookers","14":"Perfect Money (USD)","15":"Perfect Money (EUR)","11":"ePassporte","40":"Paxum","27":"SolidTrust Pay","26":"StrictPay","9":"C-gold (USD)","19":"Ecumoney (USD)","16":"C-gold (EUR)","20":"Ecumoney (EUR)","23":"Paypal (USD)","8":"Pecunix","35":"Global Digital Pay USD","36":"Global Digital Pay EUR","38":"GDXUSD","39":"GDXEUR","25":"Goldexpay Debit Card","41":"cashU","29":"Debug","31":"Debug AlertPay","30":"Debug LRUSD","32":"Debug SolidTrust Pay","33":"Debug StrictPay"};
          calc.ps_order = [7,24,34,10,1,3,2,6,37,13,17,5,4,28,12,14,15,11,40,27,26,9,19,16,20,23,8,35,36,38,39,25,41,29,31,30,32,33];
          calc.dirs = {"4":{"1":{"id":13,"rates":[[0,6.9]],"max_in":1000,"min_out":0,"min_amount":0,"max_amount":0,"min_for_percent":3},"2":{"id":14,"rates":[[6,15.9]],"max_in":1000,"min_out":0,"min_amount":0,"max_amount":0,"min_for_percent":3},"3":{"id":15,"rates":[[6,15.9]],"max_in":1000,"min_out":0,"min_amount":0,"max_amount":0,"min_for_percent":3},"37":{"id":377,"rates":[[2,6]],"max_in":1000,"min_out":10,"min_amount":0,"max_amount":0,"min_for_percent":2}},"5":{"1":{"id":20,"rates":[[0,1.4]],"max_in":50000,"min_out":0,"min_amount":0,"max_amount":0,"min_for_percent":3},"2":{"id":21,"rates":[[6,9.9]],"max_in":1200,"min_out":0,"min_amount":0,"max_amount":0,"min_for_percent":3},"3":{"id":22,"rates":[[6,3.9]],"max_in":3000,"min_out":0,"min_amount":0,"max_amount":0,"min_for_percent":3},"37":{"id":376,"rates":[[2,4.4]],"max_in":2500,"min_out":10,"min_amount":0,"max_amount":0,"min_for_percent":3}},"9":{"1":{"id":27,"rates":[[0,3.5]],"max_in":200,"min_out":0,"min_amount":0,"max_amount":0,"min_for_percent":3},"2":{"id":28,"rates":[[6,6.5]],"max_in":200,"min_out":0,"min_amount":3,"max_amount":0,"min_for_percent":0},"3":{"id":29,"rates":[[6,6.5]],"max_in":200,"min_out":0,"min_amount":3,"max_amount":0,"min_for_percent":0},"37":{"id":382,"rates":[[2,6]],"max_in":200,"min_out":10,"min_amount":0,"max_amount":0,"min_for_percent":2}},"14":{"1":{"id":56,"rates":[[0,7.9]],"max_in":500,"min_out":0,"min_amount":0,"max_amount":0,"min_for_percent":3},"2":{"id":57,"rates":[[6,7.9]],"max_in":500,"min_out":0,"min_amount":0,"max_amount":0,"min_for_percent":3},"3":{"id":58,"rates":[[6,7.9]],"max_in":500,"min_out":0,"min_amount":0,"max_amount":0,"min_for_percent":3},"37":{"id":379,"rates":[[2,10]],"max_in":200,"min_out":8.9,"min_amount":0,"max_amount":0,"min_for_percent":3}},"15":{"1":{"id":59,"rates":[[0,6.9]],"max_in":500,"min_out":0,"min_amount":0,"max_amount":0,"min_for_percent":3},"2":{"id":87,"rates":[[6,6]],"max_in":5,"min_out":0,"min_amount":0,"max_amount":0,"min_for_percent":3},"3":{"id":86,"rates":[[6,6]],"max_in":5,"min_out":0,"min_amount":0,"max_amount":0,"min_for_percent":3},"37":{"id":378,"rates":[[2,9]],"max_in":5,"min_out":10,"min_amount":0,"max_amount":0,"min_for_percent":3}},"16":{"1":{"id":98,"rates":[[0,3.5]],"max_in":200,"min_out":0,"min_amount":0,"max_amount":0,"min_for_percent":3},"2":{"id":99,"rates":[[6,6.5]],"max_in":200,"min_out":0,"min_amount":3,"max_amount":0,"min_for_percent":0},"3":{"id":100,"rates":[[6,6.5]],"max_in":200,"min_out":0,"min_amount":3,"max_amount":0,"min_for_percent":0},"37":{"id":383,"rates":[[2,6]],"max_in":500,"min_out":10,"min_amount":0,"max_amount":0,"min_for_percent":3}},"8":{"1":{"id":205,"rates":[[0,5]],"max_in":200,"min_out":0,"min_amount":0,"max_amount":0,"min_for_percent":3},"2":{"id":206,"rates":[[6,7]],"max_in":200,"min_out":0,"min_amount":0,"max_amount":0,"min_for_percent":3},"3":{"id":207,"rates":[[6,7]],"max_in":200,"min_out":0,"min_amount":0,"max_amount":0,"min_for_percent":3},"37":{"id":384,"rates":[[2,7]],"max_in":200,"min_out":10,"min_amount":0,"max_amount":0,"min_for_percent":3}},"27":{"1":{"id":220,"rates":[[0,8.9]],"max_in":200,"min_out":0,"min_amount":0,"max_amount":0,"min_for_percent":5},"2":{"id":221,"rates":[[6,8]],"max_in":200,"min_out":0,"min_amount":0,"max_amount":0,"min_for_percent":5},"3":{"id":222,"rates":[[6,8]],"max_in":200,"min_out":0,"min_amount":0,"max_amount":0,"min_for_percent":5},"37":{"id":388,"rates":[[2,8]],"max_in":5,"min_out":10,"min_amount":0,"max_amount":0,"min_for_percent":3}},"28":{"1":{"id":264,"rates":[[0,6]],"max_in":5,"min_out":0,"min_amount":0,"max_amount":0,"min_for_percent":5},"2":{"id":266,"rates":[[6,7.9]],"max_in":5,"min_out":0,"min_amount":0,"max_amount":0,"min_for_percent":5},"3":{"id":265,"rates":[[6,7.9]],"max_in":5,"min_out":0,"min_amount":0,"max_amount":0,"min_for_percent":5}},"35":{"1":{"id":309,"rates":[[0,1.9]],"max_in":5,"min_out":0,"min_amount":0,"max_amount":0,"min_for_percent":3},"2":{"id":310,"rates":[[6,3.9]],"max_in":5,"min_out":0,"min_amount":0,"max_amount":0,"min_for_percent":3},"3":{"id":311,"rates":[[6,3.9]],"max_in":5,"min_out":0,"min_amount":0,"max_amount":0,"min_for_percent":3},"37":{"id":385,"rates":[[2,6]],"max_in":5,"min_out":10,"min_amount":0,"max_amount":0,"min_for_percent":3}},"36":{"1":{"id":328,"rates":[[0,3.9]],"max_in":5,"min_out":0,"min_amount":0,"max_amount":0,"min_for_percent":3},"2":{"id":329,"rates":[[6,3.9]],"max_in":5,"min_out":0,"min_amount":0,"max_amount":0,"min_for_percent":3},"3":{"id":330,"rates":[[6,3.9]],"max_in":5,"min_out":0,"min_amount":0,"max_amount":0,"min_for_percent":3},"37":{"id":386,"rates":[[2,6]],"max_in":5,"min_out":10,"min_amount":0,"max_amount":0,"min_for_percent":3}}};
          calc.cur4dirs = {"264":{"1":true,"2":true},"266":{"1":true},"221":{"1":true},"222":{"2":true},"265":{"2":true},"27":{"1":true,"2":true},"28":{"1":true},"29":{"2":true},"98":{"1":true,"2":true},"99":{"1":true},"100":{"2":true},"205":{"1":true,"2":true},"206":{"1":true},"207":{"2":true},"383":{"1":true,"2":true},"385":{"1":true,"2":true},"386":{"1":true,"2":true},"384":{"1":true,"2":true},"382":{"1":true,"2":true},"377":{"1":true,"2":true},"13":{"1":true,"2":true},"388":{"1":true,"2":true},"378":{"1":true,"2":true},"87":{"1":true},"86":{"2":true},"309":{"1":true,"2":true},"310":{"1":true},"328":{"1":true,"2":true},"329":{"1":true},"311":{"2":true},"330":{"2":true},"15":{"2":true},"14":{"1":true},"379":{"1":true,"2":true},"59":{"1":true,"2":true},"21":{"1":true},"220":{"1":true,"2":true},"58":{"2":true},"57":{"1":true},"56":{"1":true,"2":true},"376":{"1":true,"2":true},"20":{"1":true,"2":true},"22":{"2":true}};
          calc.tsRates = {"1":{"rates":{"0":[0,0.15],"5000":[15,0.15],"10000":[25,0]},"min_for_percent":5,"max_for_percent":10,"min_amount":0,"max_amount":0},"2":{"rates":[[25,0]],"min_for_percent":0,"max_for_percent":0,"min_amount":0,"max_amount":300},"3":{"rates":[[0,0]],"min_for_percent":0,"max_for_percent":0,"min_amount":0,"max_amount":0},"4":{"rates":[[0,0]],"min_for_percent":0,"max_for_percent":0,"min_amount":0,"max_amount":0},"5":{"rates":[[0,0]],"min_for_percent":0,"max_for_percent":0,"min_amount":0,"max_amount":0},"6":{"rates":[[0,0]],"min_for_percent":0,"max_for_percent":0,"min_amount":0,"max_amount":0},"11":{"rates":[[0,0]],"min_for_percent":0,"max_for_percent":0,"min_amount":0,"max_amount":0},"12":{"rates":[[0,0]],"min_for_percent":0,"max_for_percent":0,"min_amount":0,"max_amount":0}};
          calc.transferRateOutsideEu = {"rates":{"0":[5,0.15],"1000":[15,0.15]},"min_for_percent":2,"max_for_percent":400,"min_amount":0,"max_amount":0};
          calc.countriesWithEuRate = ["at","be","bg","cy","cz","dk","ee","fi","fr","de","gr","hu","ie","it","lv","lt","lu","mt","nl","pl","pt","ro","sk","si","es","se","gb","no","ch","li"];
          calc.ecs = {"5":{"id":2,"cur_id":2,"exchange_min_in":10,"balance":21629659.51},"4":{"id":1,"cur_id":1,"exchange_min_in":10,"balance":759.6},"28":{"id":19,"cur_id":2,"exchange_min_in":10,"balance":-245.28},"14":{"id":8,"cur_id":2,"exchange_min_in":10,"balance":7072.1},"15":{"id":9,"cur_id":1,"exchange_min_in":10,"balance":2689},"40":{"id":29,"cur_id":2,"exchange_min_in":10,"balance":11460.56},"27":{"id":17,"cur_id":2,"exchange_min_in":25,"balance":9078.89},"9":{"id":5,"cur_id":2,"exchange_min_in":10,"balance":686.21},"16":{"id":10,"cur_id":1,"exchange_min_in":10,"balance":2.15},"23":{"id":15,"cur_id":2,"exchange_min_in":100,"balance":39487.92},"8":{"id":18,"cur_id":2,"exchange_min_in":10,"balance":144},"35":{"id":25,"cur_id":2,"exchange_min_in":10,"balance":20424.43},"36":{"id":26,"cur_id":1,"exchange_min_in":10,"balance":6611.11},"41":{"id":30,"cur_id":2,"exchange_min_in":10,"balance":40}};
          calc.tscs = {"1":{"1":{"id":1,"balance":857196.65,"min_in":50,"min_out":50,"max_in":30000,"max_out":30000,"is_need_out_bank_info":true,"out_rate_label":"Bank fee"},"2":{"id":2,"balance":3719881.66,"min_in":50,"min_out":50,"max_in":50000,"max_out":50000,"is_need_out_bank_info":true,"out_rate_label":"Bank fee"}},"3":{"2":{"id":6,"balance":1833233.07,"min_in":100,"min_out":100,"max_in":5000,"max_out":3000,"is_need_out_bank_info":false,"out_rate_label":"Western fee"},"1":{"id":5,"balance":20801.37,"min_in":100,"min_out":100,"max_in":5000,"max_out":1500,"is_need_out_bank_info":false,"out_rate_label":"Western fee"}},"2":{"1":{"id":3,"balance":41053.25,"min_in":100,"min_out":100,"max_in":2000,"max_out":1500,"is_need_out_bank_info":false,"out_rate_label":"MG fee"},"2":{"id":4,"balance":1060731.22,"min_in":100,"min_out":100,"max_in":2000,"max_out":1500,"is_need_out_bank_info":false,"out_rate_label":"MG fee"}},"37":{"1":{"id":12,"balance":30916.49,"min_in":10,"min_out":10,"max_in":2500,"max_out":2500,"is_need_out_bank_info":false,"out_rate_label":""},"2":{"id":11,"balance":77831.33,"min_in":10,"min_out":10,"max_in":2500,"max_out":2500,"is_need_out_bank_info":false,"out_rate_label":""}}};
    
    calc.draw(\'ps_in\');
        calc.draw(\'ps_out\');
    calc.draw(\'c_out\');
    setSelectValue(getElById(\'ps_in\'), \'\');
    calc.changed(\'ps_in\');

    setSelectValue(getElById(\'ps_out\'), \'\');
    calc.changed(\'ps_out\');

    
          setSelectValue(getElById(\'c_out\'), \'\');
      calc.changed(\'c_out\');
    
    calc.loaded = true;
	'; ?>

  </script>
</body>
</html>